home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Examples / Draw / Include / DrawProxyBorder.h < prev    next >
Encoding:
Text File  |  1994-04-21  |  1.4 KB  |  53 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                DrawProxyBorder.h
  4. //    Release Version:    $ 1.0d1 $
  5. //
  6. //    Author:                Henri Lamiraux
  7. //    Creation Date:        3/28/94
  8. //
  9. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //========================================================================================
  12.  
  13. #ifndef DRAWPROXYBORDER_H
  14. #define DRAWPROXYBORDER_H
  15.  
  16. // ----- Framework Includes
  17. #ifndef FWBORDER_H
  18. #include "FWBorder.h"
  19. #endif
  20.  
  21. //==============================================================================
  22. // Forward Declarations
  23. //==============================================================================
  24.  
  25. class CDrawProxyRun;
  26. class CProxyShape;
  27.  
  28. //==============================================================================
  29. // class CDrawProxyBorder
  30. //==============================================================================
  31.  
  32. class CDrawProxyBorder : public FW_CBaseProxyBorder
  33. {
  34. public:
  35.     CDrawProxyBorder();
  36.     void InitDrawProxyBorder(CDrawProxyRun* proxyRun);
  37.     virtual ~CDrawProxyBorder();
  38.  
  39.     // ----- Drawing -----
  40.     virtual void        DrawProxyBorder(FW_CFacet* facet, XMPFacet* embeddedFacet);
  41.     virtual void        EraseProxyBorder(FW_CFacet* facet, XMPFacet* embeddedFacet);
  42.     
  43.     // ----- Hit Test -----
  44.     virtual short    WhereInProxyBorder(FW_CFacet* facet, const FW_CPoint& mouse) const;
  45.  
  46. private:
  47.     CDrawProxyRun*        fProxyRun;
  48. };
  49.  
  50.  
  51. #endif
  52.  
  53.